package com.zr.planClass.controller;

import com.zr.planClass.model.kucun.StoreTagQianDuanVo;
import com.zr.planClass.service.KuCunService;
import com.zr.util.ResultBuilderVo;
import com.zr.util.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by 非常狂躁的猪 on 2020/1/3.
 */
@RestController
@CrossOrigin
public class KuCunController {

    @Autowired
    private KuCunService kuCunService;


    @PostMapping("iwm/getPullDownList")
    public ResultVo getPullDownList(){
        return null;
    }

    @PostMapping("warehouseTag/queryPage")
    public ResultVo queryPage(@RequestBody StoreTagQianDuanVo storeTagQianDuanVo){
        ResultVo resultVo = kuCunService.queryAllTag(storeTagQianDuanVo);
        return resultVo;
    }
}





































